<?php
	
	define('_DOCUMENT_ROOT_', dirname(realpath(__FILE__)).'/');
	
	function search($array, $k)
	{
	    $results = array();

	    if (is_array($array))
	    {
	        foreach($array as $key => $value)
			{
				if($key == $k)
				{
					$results[] = $array[$key];
				}
			}
	    }

	    return $results;
	}

?>

